package com.example.member.service.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户拉黑记录表
 * </p>
 *
 * @author root
 * @since 2025-03-16
 */
@Getter
@Setter
@TableName("member_block")
public class MemberBlock implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 拉黑记录ID
     */
    @TableId(value = "block_id", type = IdType.AUTO)
    private Integer blockId;

    /**
     * 当前会员的ID
     */
    private String blockerMemberId;

    /**
     * 被拉黑的会员ID
     */
    private String blockedMemberId;

    /**
     * 拉黑时间
     */
    private Date blockTime;
}
